/* 使用引入的 Google Fonts */
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* 添加模糊效果 */
}

.container {
    width: 450px; /* 适当增大容器宽度 */
    padding: 20px;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.9); /* 使用半透明背景 */
    border-radius: 15px; /* 增大圆角半径 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* 增强阴影效果 */
    padding: 30px;
    animation: fadeIn 0.5s ease; /* 添加淡入动画 */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px; /* 增加底部边距 */
    font-size: 28px; /* 增大字体大小 */
}

.tabs {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 30px; /* 增加底部边距 */
}

.tab {
    padding: 12px 25px; /* 增大内边距 */
    cursor: pointer;
    border-bottom: 3px solid transparent; /* 增大边框宽度 */
    transition: all 0.3s ease;
    font-size: 16px; /* 增大字体大小 */
    color: #666;
}

.tab.active {
    border-bottom: 3px solid #007BFF; /* 增大边框宽度 */
    color: #007BFF;
    font-weight: 500; /* 增加字体粗细 */
}

.tab:hover {
    color: #007BFF;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

form input {
    width: 100%;
    padding: 15px; /* 增大内边距 */
    margin-bottom: 20px; /* 增加底部边距 */
    border: 1px solid #ccc;
    border-radius: 8px; /* 增大圆角半径 */
    box-sizing: border-box;
    font-size: 16px; /* 增大字体大小 */
    transition: border-color 0.3s ease;
}

form input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 添加聚焦阴影效果 */
}

form button {
    width: 100%;
    padding: 15px; /* 增大内边距 */
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 8px; /* 增大圆角半径 */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 18px; /* 增大字体大小 */
    font-weight: 500; /* 增加字体粗细 */
}

form button:hover {
    background-color: #0056b3;
    transform: scale(1.02); /* 鼠标悬停时稍微放大按钮 */
}

.message {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}